package com.jrzh.mvc.constants;

import java.util.HashMap;
import java.util.Map;

public abstract class SysActionConstants {

	public static final String INDEX = "index";

	public static final String DISABLE_ENABLE = "disable_enable";

	public static final String ADD = "add";

	public static final String EDIT = "edit";

	public static final String VIEW = "view";

	public static final String DELETE = "delete";

	public static final String DELETES = "deletes";

	public static final String AUTHORIZATION = "authorization";

	public static final String RESET_PASSWORD = "reset_password";
	
	public static final String SHOW_USERS = "show_users"; // 展示所有用戶

	public static final String VIEW_WF_LIST = "view_wf_list"; // 查看工作流流程

	public static final String VIEW_STORE_LIST = "view_store_list"; // 查詢店铺信息

	public static final String VIEW_HISTORY = "view_history"; // 查詢店铺信息

	public static final String SHOW_SQL_HISTORY = "show_sql_history"; // 查看表格历史修改记录

	public static final String SHOW_FIELDS = "show_fields"; // 查詢表格字段

	public static final String UPDATE_TABLE = "update_table"; // 更新表格信息
	
	public static final String LIST_MODELS = "list_models"; // 模块管理
	
	public static final String WF_VERSION = "wf_version"; // 版本管理

	public static final String ICON_UPLOAD = "icon_upload"; // 图标上传

	public static final String ASSOCIATION_FORM = "association_form"; // 关联表单

	public static final String HISTORY_DETAIL = "history_detail"; // 历史详情

	public static final String PROCESS_DESIGN = "process_design"; // 流程设计

	public static final String PROCESS_SETTING = "process_setting"; // 流程设置

	public static final String VIEW_DESING = "view_design"; // 查看设计

	public static final String PROCESS_COPY = "process_copy"; // 流程复制

	public static final String REVIEW = "review"; // 审核

	public static final String VIEW_PROGRESS = "view_progress"; // 查看进度

	public static final String DEAL_TASK = "deal_task"; // 处理任务
	
	

	public static Map<String, String> valueMap = new HashMap<String, String>();

	static {
		valueMap.put(SHOW_USERS, "common.btn.show_users");
		valueMap.put(VIEW_WF_LIST, "common.btn.view_wf_list");
		valueMap.put(VIEW_STORE_LIST, "common.btn.view_store_list");
		valueMap.put(VIEW_HISTORY, "common.btn.view_history");
		valueMap.put(SHOW_SQL_HISTORY, "common.btn.show_sql_history");
		valueMap.put(SHOW_FIELDS, "common.btn.show_fields");
		valueMap.put(UPDATE_TABLE, "common.btn.update_table");
		valueMap.put(LIST_MODELS, "common.btn.list_models");
		valueMap.put(WF_VERSION, "common.btn.wf_version");
		valueMap.put(ICON_UPLOAD, "common.btn.icon_upload");
		valueMap.put(ASSOCIATION_FORM, "common.btn.association_form");
		valueMap.put(HISTORY_DETAIL, "common.btn.history_detail");
		valueMap.put(PROCESS_DESIGN, "common.btn.process_design");
		valueMap.put(PROCESS_SETTING, "common.btn.process_setting");
		valueMap.put(VIEW_DESING, "common.btn.view_design");
		valueMap.put(PROCESS_COPY, "common.btn.process_copy");
		valueMap.put(REVIEW, "common.btn.review");
		valueMap.put(VIEW_PROGRESS, "common.btn.view_progress");
		valueMap.put(DEAL_TASK, "common.btn.deal_task");
		valueMap.put(ADD, "common.btn.add");
		valueMap.put(EDIT, "common.btn.edit");
		valueMap.put(VIEW, "common.btn.view");
		valueMap.put(DELETE, "common.btn.delete");
		valueMap.put(DELETES, "common.btn.deletes");
		valueMap.put(DISABLE_ENABLE, "common.btn.disable_enable");
		valueMap.put(AUTHORIZATION, "common.btn.authorization");
		valueMap.put(RESET_PASSWORD, "common.btn.reset_password");
	}
}
